package com.fan.shop.model.commonbrowser;

import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;

import com.fan.shop.services.ShopService;

public class CommonBrowser {
	
	private static Logger logger = Logger.getLogger(CommonBrowser.class);
	private String triggerField;
	private String parentPage;
	private ShopService shopService;
	
	private String selectionMode = "single";
	
	private Map<String, Object> sourceMap;
	
	private String selectedValue;
	private List<String> returnList;
	
	private Object caller;
	public static Logger getLogger() {
		return logger;
	}
	public static void setLogger(Logger logger) {
		CommonBrowser.logger = logger;
	}
	public String getTriggerField() {
		return triggerField;
	}
	public void setTriggerField(String triggerField) {
		this.triggerField = triggerField;
	}
	public String getParentPage() {
		return parentPage;
	}
	public void setParentPage(String parentPage) {
		this.parentPage = parentPage;
	}
	public ShopService getShopService() {
		return shopService;
	}
	public void setShopService(ShopService shopService) {
		this.shopService = shopService;
	}
	public String getSelectionMode() {
		return selectionMode;
	}
	public void setSelectionMode(String selectionMode) {
		this.selectionMode = selectionMode;
	}
	public Map<String, Object> getSourceMap() {
		return sourceMap;
	}
	public void setSourceMap(Map<String, Object> sourceMap) {
		this.sourceMap = sourceMap;
	}
	public String getSelectedValue() {
		return selectedValue;
	}
	public void setSelectedValue(String selectedValue) {
		this.selectedValue = selectedValue;
	}
	public List<String> getReturnList() {
		return returnList;
	}
	public void setReturnList(List<String> returnList) {
		this.returnList = returnList;
	}
	
	
	public Object getCaller() {
		return caller;
	}
	public void setCaller(Object caller) {
		this.caller = caller;
	}
	public CommonBrowser() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	

}
